/* ------------------------------------------ 全局样式 ------------------------------------------ */

@import "./rewrite.scss";
@import "./transition.scss";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
a {
  text-decoration: none;
}
button {
  outline: none;
  border: none;
}
:not(input):not(textarea) {
  user-select: none;
}
#app {
  width: 100%;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

// 主题按钮
.theme-btn {
  @include reset-button;
  @include display-flex;
  position: relative;
  background-color: $color-theme;
  width: 246px;
  height: 38px;
  margin: 40px auto;
  border-radius: 19px;
  color: #ffffff;
  font-size: 18px;
  box-shadow: 0 1px 1px -2px rgba(0, 0, 0, 0.1), 0 2px 2px 0 rgba(0, 0, 0, 0.1),
    0 1px 5px 0 rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
  &.disabled {
    background-color: #c8cbd2;
    color: #ffffff;
  }
}

//向上三角形指向说明图标
.triangle-explain {
  width: 20px;
  height: 20px;
  font-size: 0;
  border-width: 12px;
  border-style: solid;
  border-color: transparent transparent #f2f6ff transparent;
  position: relative;
  left: 20px;
  top: -38px;
}

// 水波纹样式
.v-waves {
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  z-index: 1;
}
// 动态添加的水波纹
.v-waves .v-waves-animation {
  position: absolute;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.7s ease-out;
  transition-property: transform, opacity, -webkit-transform;
  -webkit-transform: scale(0);
  transform: scale(0);
  pointer-events: none
}

